$OpenBSD: patch-dic_ideo_grammar_Imakefile,v 1.2 2008/08/29 15:01:29 espie Exp $
--- dic/ideo/grammar/Imakefile.orig	Wed Nov 27 08:14:45 1996
+++ dic/ideo/grammar/Imakefile	Fri Aug 29 16:52:05 2008
@@ -86,5 +86,5 @@ InstallMultipleFlags($(ALLDIC),$(CANNADICDIR),-m 0664 
 
 install::
-	$(CHGRP) $(cannaGroup) $(CANNADICDIR)
-	$(CHOWN) $(cannaOwner) $(CANNADICDIR)
-	$(CHMOD) ug+w $(CANNADICDIR)
+	$(CHGRP) $(cannaGroup) $(DESTDIR)$(CANNADICDIR)
+	$(CHOWN) $(cannaOwner) $(DESTDIR)$(CANNADICDIR)
+	$(CHMOD) ug+w $(DESTDIR)$(CANNADICDIR)
